home *** CD-ROM | disk | FTP | other *** search
/ Our Solar System / Our Solar System.iso / jupiter / jptrfli2 / unzip.bat < prev   
DOS Batch File  |  1991-08-31  |  2KB  |  55 lines

  1. @echo off
  2. cls
  3. if "%1"=="JUPITER" goto JUPITER
  4. if "%1"=="jupiter" goto JUPITER
  5. echo.
  6. echo.
  7. echo This batch file will decompress all of the *.ZIP files in the current
  8. echo subdirectory that accompany the SuperVGA movie JUPITER. In order to 
  9. echo properly execute this you must type
  10. echo                                      UNZIP JUPITER
  11. echo.
  12. echo Please re-type the command as shown above
  13. echo.
  14. goto end
  15. :JUPITER
  16. cls
  17. if not exist JUPITER.ZIP goto MISSFILE
  18. if not exist PKUNZIP.EXE goto MISSFILE
  19. PKUNZIP JUPITER
  20. if exist JUPITER.FLI goto NEXT
  21. goto FAILED
  22. :NEXT
  23. if exist PLAY.EXE goto NEXTONE
  24. goto FAILED
  25. :NEXTONE
  26. if exist RUN.BAT goto FINISHED
  27. :FAILED
  28. cls
  29. echo.
  30. echo.
  31. echo Apparently the files were not successfully decompressed to create
  32. echo JUPITER.FLI    PLAY.EXE    RUN.BAT
  33. echo Please check your subdirectory and try again.
  34. echo.
  35. goto end
  36. :MISSFILE
  37. echo.
  38. echo Either you are trying to run this command from the distribution floppy or
  39. echo a necessary file is missing from your hard drive subdirectory. 
  40. echo The following file is required:
  41. echo                                   JUPITER.ZIP and PKUNZIP.EXE
  42. echo.
  43. goto end
  44. :FINISHED
  45. cls
  46. echo.
  47. echo.
  48. echo You have sucessfully decompressed JUPITER. If you plan to use a ram drive
  49. echo or expanded memory, you must prepare those areas and copy the following
  50. echo files to that location manually:   JUPITER.FLI   PLAY.EXE   RUN.BAT
  51. echo.
  52. echo If you wish to run the program from your hard drive now, just type
  53. echo                                   RUN JUPITER
  54. echo.
  55. :end